home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / gimp / 2.0 / help / en / script-fu-glossy-logo-alpha.html < prev    next >
Encoding:
Extensible Markup Language  |  2008-05-03  |  16.5 KB  |  405 lines

  1. <?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4.   <head>
  5.     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.     <title>15.9.¬† Glossy</title>
  7.     <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
  8.     <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
  9.     <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
  10.     <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
  11.     <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
  12.     <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
  13.     <link rel="up" href="filters-alpha-to-logo.html" title="15.¬† Alpha to Logo Filters" />
  14.     <link rel="prev" href="script-fu-cool-metal-logo-alpha.html" title="15.8.¬† Cool Metal" />
  15.     <link rel="next" href="script-fu-neon-logo-alpha.html" title="15.10.¬† Neon" />
  16.   </head>
  17.   <body>
  18.     <div class="navheader">
  19.       <table width="100%" summary="Navigation header">
  20.         <tr>
  21.           <th colspan="3" align="center">15.9.¬†
  22.     <span lang="en" xml:lang="en">Glossy</span>
  23.   </th>
  24.         </tr>
  25.         <tr>
  26.           <td width="20%" align="left"><a accesskey="p" href="script-fu-cool-metal-logo-alpha.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  27.           <th width="60%" align="center">15.¬†
  28.     <span lang="en" xml:lang="en">Alpha to Logo Filters</span>
  29.   </th>
  30.           <td width="20%" align="right">¬†<a accesskey="n" href="script-fu-neon-logo-alpha.html"><img src="../images/next.png" alt="Next" /></a></td>
  31.         </tr>
  32.       </table>
  33.       <hr />
  34.     </div>
  35.     <div class="sect2" lang="en" xml:lang="en">
  36.       <div class="titlepage">
  37.         <div>
  38.           <div>
  39.             <h3 class="title"><a id="script-fu-glossy-logo-alpha"></a>15.9.¬†
  40.     <span lang="en" xml:lang="en">Glossy</span>
  41.   </h3>
  42.           </div>
  43.           <div>
  44.             <div class="revhistory">
  45.               <table border="1" width="100%" summary="Revision history">
  46.                 <tr>
  47.                   <th align="left" valign="top" colspan="3">
  48.                     <b>Revision History</b>
  49.                   </th>
  50.                 </tr>
  51.                 <tr>
  52.                   <td align="left">Revision $Revision: 2413 $</td>
  53.                   <td align="left">2008-02-25</td>
  54.                   <td align="left">ude</td>
  55.                 </tr>
  56.               </table>
  57.             </div>
  58.           </div>
  59.         </div>
  60.       </div>
  61.       <a id="id2786377" class="indexterm"></a>
  62.       <a id="id2786395" class="indexterm"></a>
  63.       <div class="sect3" lang="en" xml:lang="en">
  64.         <div class="titlepage">
  65.           <div>
  66.             <div>
  67.               <h4 class="title"><a id="id2786404"></a>15.9.1.¬†
  68.       <span lang="en" xml:lang="en">Overview</span>
  69.     </h4>
  70.             </div>
  71.           </div>
  72.         </div>
  73.         <div class="figure">
  74.           <a id="id2786415"></a>
  75.           <p class="title">
  76.             <b>Figure¬†16.311.¬†
  77.         <span lang="en" xml:lang="en">
  78.           Example for the ‚Äú<span class="quote">Glossy</span>‚Äù filter
  79.         </span>
  80.       </b>
  81.           </p>
  82.           <div class="figure-contents">
  83.             <div class="mediaobject">
  84.               <img src="../images/filters/examples/logo-glossy.jpg" alt="Example for the Glossy filter" />
  85.               <div class="caption">
  86.                 <p>The ‚Äú<span class="quote">Glossy</span>‚Äù filter</p>
  87.               </div>
  88.             </div>
  89.             <div class="mediaobject">
  90.               <img src="../images/filters/examples/glossy-script-fu.jpg" alt="Example for the Glossy filter" />
  91.               <div class="caption">
  92.                 <p>The ‚Äú<span class="quote">Glossy</span>‚Äù logo</p>
  93.               </div>
  94.             </div>
  95.           </div>
  96.         </div>
  97.         <br class="figure-break" />
  98.         <p>
  99.       This filter applies gradients and patterns to the alpha. A slight 3D
  100.       effect will be added using a bump map, and optionally the filter adds a
  101.       drop shadow.
  102.     </p>
  103.         <div class="note" style="margin-left: 0.5in; margin-right: 0.5in;">
  104.           <table border="0" summary="Note">
  105.             <tr>
  106.               <td rowspan="2" align="center" valign="top" width="25">
  107.                 <img alt="[Note]" src="../images/note.png" />
  108.               </td>
  109.               <th align="left">Note</th>
  110.             </tr>
  111.             <tr>
  112.               <td align="left" valign="top">
  113.                 <p>
  114.         Here, as a language shortcut, we use <span class="emphasis"><em>alpha</em></span> to
  115.         mean the area of the active layer defined by the non-transparent
  116.         pixels. You may think of it as a selection ‚Äú<span class="quote">by
  117.         visibility</span>‚Äù. Applying any effect ‚Äú<span class="quote">to the alpha</span>‚Äù
  118.         just means to apply this effect to all visible pixels of the active
  119.         layer.
  120.       </p>
  121.               </td>
  122.             </tr>
  123.           </table>
  124.         </div>
  125.         <p>
  126.       The filter is derived from the ‚Äú<span class="quote">Glossy</span>‚Äù script
  127.       (<span class="guimenu"><span class="accel">X</span>tns</span> ‚Üí <span class="guisubmenu"><span class="accel">L</span>ogo</span> ‚Üí <span class="guimenuitem">Glo<span class="accel">s</span>sy</span>
  128.       in the toolbox), which creates a logo (see above) with a glossy outlook
  129.       when used with the default options, thus the name.
  130.     </p>
  131.         <p>
  132.       This filter only works if the active layer has an alpha channel.
  133.       Otherwise, the menu entry is insensitive and grayed out.
  134.     </p>
  135.         <div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
  136.           <table border="0" summary="Warning">
  137.             <tr>
  138.               <td rowspan="2" align="center" valign="top" width="25">
  139.                 <img alt="[Warning]" src="../images/warning.png" />
  140.               </td>
  141.               <th align="left">Warning</th>
  142.             </tr>
  143.             <tr>
  144.               <td align="left" valign="top">
  145.                 <p>
  146.         The image will always be resized to the active layer's size.
  147.       </p>
  148.               </td>
  149.             </tr>
  150.           </table>
  151.         </div>
  152.       </div>
  153.       <div class="sect3" lang="en" xml:lang="en">
  154.         <div class="titlepage">
  155.           <div>
  156.             <div>
  157.               <h4 class="title"><a id="id2786579"></a>15.9.2.¬†
  158.       <span lang="en" xml:lang="en">Activate the filter</span>
  159.     </h4>
  160.             </div>
  161.           </div>
  162.         </div>
  163.         <p>
  164.       This filter is found in the image window menu under
  165.       <span class="guimenu"><span class="accel">F</span>ilters</span> ‚Üí <span class="guisubmenu">Alpha to <span class="accel">L</span>ogo</span> ‚Üí <span class="guimenuitem">Glo<span class="accel">s</span>sy</span>.
  166.     </p>
  167.       </div>
  168.       <div class="sect3" lang="en" xml:lang="en">
  169.         <div class="titlepage">
  170.           <div>
  171.             <div>
  172.               <h4 class="title"><a id="id2786628"></a>15.9.3.¬†
  173.       <span lang="en" xml:lang="en">Options</span>
  174.     </h4>
  175.             </div>
  176.           </div>
  177.         </div>
  178.         <div class="figure">
  179.           <a id="id2786639"></a>
  180.           <p class="title">
  181.             <b>Figure¬†16.312.¬†
  182.         <span lang="en" xml:lang="en">‚Äú<span class="quote">Glossy</span>‚Äù options</span>
  183.       </b>
  184.           </p>
  185.           <div class="figure-contents">
  186.             <div class="mediaobject">
  187.               <img src="../images/filters/options-logo-glossy.png" alt="Glossy options" />
  188.             </div>
  189.           </div>
  190.         </div>
  191.         <br class="figure-break" />
  192.         <div class="variablelist">
  193.           <dl>
  194.             <dt>
  195.               <span class="term">
  196.           <span lang="en" xml:lang="en">Blend gradient (text)</span>
  197.         </span>
  198.             </dt>
  199.             <dd>
  200.               <p>
  201.             By default, the filter will fill the alpha with a
  202.             <a class="link" href="gimp-tool-blend.html" title="3.4.¬† Blend">gradient blend</a>. Clicking on
  203.             the swatch button will open a simple
  204.             <a class="link" href="gimp-gradient-dialog.html" title="3.4.¬† Gradients Dialog">gradient dialog</a>, where
  205.             you may select any gradient. ‚Äú<span class="quote">Text</span>‚Äù refers to the
  206.             ‚Äú<span class="quote">Glossy</span>‚Äù logo, which creates a logo from a text, and
  207.             is meaningless here.
  208.           </p>
  209.               <p>
  210.             When <span class="guilabel">Text gradient reverse</span> is checked, the
  211.             alpha will be filled with a gradient blend starting at the bottom.
  212.           </p>
  213.             </dd>
  214.             <dt>
  215.               <span class="term">
  216.           <span lang="en" xml:lang="en">Pattern (text)</span>
  217.         </span>
  218.             </dt>
  219.             <dd>
  220.               <p>
  221.             When <span class="guilabel">Use pattern for text instead of gradient</span>
  222.             is checked, the alpha  will be filled with a pattern. You can open
  223.             a <a class="link" href="gimp-pattern-dialog.html" title="3.3.¬† Patterns Dialog">patterns dialog</a> to
  224.             select a pattern of your choice by clicking on the
  225.             <span class="guibutton">Browse</span> button. The preview area on the left
  226.             will produce a popup preview of the current pattern when pressed.
  227.           </p>
  228.             </dd>
  229.             <dt>
  230.               <span class="term">
  231.           <span lang="en" xml:lang="en">Outline size</span>
  232.         </span>
  233.             </dt>
  234.             <dd>
  235.               <p>
  236.             This is the size of a kind of border, realised with a layer
  237.             containing an enlarged copy of the alpha (details see below).
  238.           </p>
  239.             </dd>
  240.             <dt>
  241.               <span class="term">
  242.           <span lang="en" xml:lang="en">
  243.             Blend gradient (outline); Pattern (outline)
  244.           </span>
  245.         </span>
  246.             </dt>
  247.             <dd>
  248.               <p>
  249.             Just like the ‚Äú<span class="quote">text</span>‚Äù options for the active layer,
  250.             these options specify the gradient or pattern (when <span class="guilabel">Use
  251.             pattern for outline instead of gradient</span> is checked)
  252.             used to fill the outline area.
  253.           </p>
  254.             </dd>
  255.             <dt>
  256.               <span class="term">
  257.           <span lang="en" xml:lang="en">Use pattern overlay</span>
  258.         </span>
  259.             </dt>
  260.             <dd>
  261.               <p>
  262.             When checked, the original, not enlarged alpha of the outline
  263.             layer will be filled with the specified pattern using the overlay
  264.             <a class="link" href="gimp-tools-paint.html#gimp-tool-brush-options" title="3.1.2.¬† Tool Options">mode</a>, so that the
  265.             pattern and the previous contents (pattern or gradient) will be
  266.             merged.
  267.           </p>
  268.               <p>
  269.             Again, clicking on <span class="guibutton">Browse</span> button will open
  270.             a <a class="link" href="gimp-pattern-dialog.html" title="3.3.¬† Patterns Dialog">patterns dialog</a>,
  271.             pressing the preview icon will produce a popup preview of the
  272.             current pattern.
  273.           </p>
  274.             </dd>
  275.             <dt>
  276.               <span class="term">
  277.           <span lang="en" xml:lang="en">Default bumpmap settings</span>
  278.         </span>
  279.             </dt>
  280.             <dd>
  281.               <p>
  282.             This option does nothing, the filter will always apply a
  283.             <a class="link" href="plug-in-bump-map.html" title="10.2.¬† Bump Map">bump map</a>.
  284.           </p>
  285.             </dd>
  286.             <dt>
  287.               <span class="term">
  288.           <span lang="en" xml:lang="en">Background color</span>
  289.         </span>
  290.             </dt>
  291.             <dd>
  292.               <p>
  293.             The color of the background layer added by the filter. When you
  294.             click on the color button, a <a class="link" href="gimp-dialogs-content.html#gimp-color-dialog" title="3.1.¬† The ‚ÄúFG/BG Color‚Äù Dialog">color select dialog</a> pops up.
  295.           </p>
  296.             </dd>
  297.             <dt>
  298.               <span class="term">
  299.           <span lang="en" xml:lang="en">Shadow</span>
  300.         </span>
  301.             </dt>
  302.             <dd>
  303.               <p>
  304.             Optionally the filter creates a layer containing a
  305.             <a class="link" href="script-fu-drop-shadow.html" title="7.7.¬† Drop Shadow">drop shadow</a>. The
  306.             shadow layer will be moved <span class="guilabel">Shadow X offset</span>
  307.             pixels to the right and <span class="guilabel">Shadow Y offset</span>
  308.             pixels down. Note that this may enlarge the image, while the
  309.             background layer will keep the size of the active layer.
  310.           </p>
  311.             </dd>
  312.           </dl>
  313.         </div>
  314.       </div>
  315.       <div class="sect3" lang="en" xml:lang="en">
  316.         <div class="titlepage">
  317.           <div>
  318.             <div>
  319.               <h4 class="title"><a id="id2786998"></a>15.9.4.¬†
  320.       <span lang="en" xml:lang="en">Filter details</span>
  321.     </h4>
  322.             </div>
  323.           </div>
  324.         </div>
  325.         <p>
  326.       The numerous options may give the impression that this is a very
  327.       complicate filter, but actually it is fairly simple. The interesting
  328.       part is how the filter handles the active layer and the outline layer:
  329.     </p>
  330.         <p>
  331.       In the active layer, the filter creates a
  332.       <a class="link" href="gimp-layer-alpha-selection-replace.html" title="10.36.¬† Alpha to Selection">selection from the
  333.       alpha channel</a> and fills the selection with the specified gradient
  334.       blend or pattern.
  335.     </p>
  336.         <p>
  337.       Then a new ‚Äú<span class="quote">outline</span>‚Äù layer below the active layer will be
  338.       created in a similar way: First, the active layer's alpha will be used
  339.       to make a selection. But before filling the selection with a gradient or
  340.       a pattern, the selection will be
  341.       <a class="link" href="gimp-selection-grow.html" title="7.12.¬† Grow">enlarged</a> by <span class="guilabel">Outline
  342.       size</span> pixels.
  343.     </p>
  344.         <p>
  345.       When you filled both layers with the same pattern or gradient blend, you
  346.       will still see a border (‚Äú<span class="quote">outline</span>‚Äù), because
  347.     </p>
  348.         <div class="itemizedlist">
  349.           <ul type="disc">
  350.             <li>
  351.               <p>
  352.           a 3D effect will be applied to the outline layer using the active
  353.           layer as a <a class="link" href="plug-in-bump-map.html" title="10.2.¬† Bump Map">bump map</a>;
  354.         </p>
  355.             </li>
  356.             <li>
  357.               <p>
  358.           the <a class="link" href="gimp-concepts-layer-modes.html" title="2.¬† Layer Modes">layer mode</a> of
  359.           the active layer will be set to ‚Äú<span class="quote">Screen</span>‚Äù.
  360.         </p>
  361.             </li>
  362.           </ul>
  363.         </div>
  364.         <p>
  365.       The last (optional) step is to fill the outline layer with a pattern,
  366.       using the ‚Äú<span class="quote">overlay</span>‚Äù layer
  367.       <a class="link" href="gimp-tools-paint.html#gimp-tool-brush-options" title="3.1.2.¬† Tool Options">mode</a>. This will combine
  368.       the pattern with the pattern or gradient used before. To learn more
  369.       about the result of using the overlay mode, see the description in
  370.       <a class="xref" href="gimp-concepts-layer-modes.html" title="2.¬† Layer Modes">Section¬†2, ‚Äú
  371.     <span lang="en" xml:lang="en">Layer Modes</span>
  372.   ‚Äù</a>.
  373.     </p>
  374.       </div>
  375.     </div>
  376.     <div class="navfooter">
  377.       <hr />
  378.       <table width="100%" summary="Navigation footer">
  379.         <tr>
  380.           <td width="40%" align="left"><a accesskey="p" href="script-fu-cool-metal-logo-alpha.html"><img src="../images/prev.png" alt="Prev" /></a>¬†</td>
  381.           <td width="20%" align="center">
  382.             <a accesskey="u" href="filters-alpha-to-logo.html">
  383.               <img src="../images/up.png" alt="Up" />
  384.             </a>
  385.           </td>
  386.           <td width="40%" align="right">¬†<a accesskey="n" href="script-fu-neon-logo-alpha.html"><img src="../images/next.png" alt="Next" /></a></td>
  387.         </tr>
  388.         <tr>
  389.           <td width="40%" align="left" valign="top"><a accesskey="p" href="script-fu-cool-metal-logo-alpha.html">15.8.¬†
  390.     <span lang="en" xml:lang="en">Cool Metal</span>
  391.   </a>¬†</td>
  392.           <td width="20%" align="center">
  393.             <a accesskey="h" href="index.html">
  394.               <img src="../images/home.png" alt="Home" />
  395.             </a>
  396.           </td>
  397.           <td width="40%" align="right" valign="top">¬†<a accesskey="n" href="script-fu-neon-logo-alpha.html">15.10.¬†
  398.     <span lang="en" xml:lang="en">Neon</span>
  399.   </a></td>
  400.         </tr>
  401.       </table>
  402.     </div>
  403.   </body>
  404. </html>
  405.